package com.gp.model.dto;

import java.util.HashSet;
import java.util.Set;

/**
 * @author: 弓成龙
 * @date  : 2018年4月7日
 * @email : gcx909109@sina.cn
 * @description: 
 */
public class DistributorInfo {

  private Integer id;
  private String userCode;
  private Integer parent;
  private Integer level;
  private String username; 
  private String current_day;
  
  private Set<DistributorInfo> categorySet = new HashSet<DistributorInfo>();
  public Integer getId() {
    return id;
  }
  public void setId(Integer id) {
    this.id = id;
  }
  public String getUserCode() {
    return userCode;
  }
  public void setUserCode(String userCode) {
    this.userCode = userCode;
  }
  public Integer getParent() {
    return parent;
  }
  public void setParent(Integer parent) {
    this.parent = parent;
  }
  public Integer getLevel() {
    return level;
  }
  public void setLevel(Integer level) {
    this.level = level;
  }
  public Set<DistributorInfo> getCategorySet() {
    return categorySet;
  }
  public void setCategorySet(Set<DistributorInfo> categorySet) {
    this.categorySet = categorySet;
  }
  @Override
  public String toString() {
    return "DistributorInfo [id=" + id + ", userCode=" + userCode + ", parent=" + parent
        + ", level=" + level + ", categorySet=" + categorySet + "]";
  }
  public String getCurrent_day() {
    return current_day;
  }
  public void setCurrent_day(String current_day) {
    this.current_day = current_day;
  }
  public String getUsername() {
    return username;
  }
  public void setUsername(String username) {
    this.username = username;
  }
  
}

